package conson.tech.manage.scene.vo;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import conson.tech.manage.scene.excel.converter.AuditStateConverter;
import conson.tech.manage.scene.excel.converter.CommonStateConverter;
import conson.tech.manage.scene.excel.converter.MoneyConverter;
import conson.tech.manage.scene.excel.converter.TimeConverter;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @Description: 教培评价审核列表展示
 * @author: yuwenshuo
 * @since: 2020-06-22 09:51
 */

@Data
@NoArgsConstructor
public class TrainingAuditEvaluateVO implements Serializable {

    @ExcelIgnore
    @ApiModelProperty(value = "评价id")
    private Long evaluateId;

    @ExcelProperty(value = "订单编号")
    @ApiModelProperty(value = "订单编号")
    private Long orderId;

    @ExcelProperty(value = "评论用户")
    @ApiModelProperty(value = "评论用户")
    private String userMobile;

    @ExcelProperty(value = "机构名称")
    @ApiModelProperty(value = "机构名称")
    private String orgName;

    @ExcelProperty(value = "课程名称")
    @ApiModelProperty(value = "课程名称")
    private String courseName;

    @ExcelProperty(value = "评论星级")
    @ApiModelProperty(value = "评论星级")
    private Integer score;

    @ExcelProperty(value = "是否有图", converter = CommonStateConverter.class)
    @ApiModelProperty(value = "是否有图 0-有 1-无")
    private Integer imageFlag;

    @ExcelProperty(value = "评论内容")
    @ApiModelProperty(value = "评论内容")
    private String content;

    @ExcelProperty(value = "评论时间", converter = TimeConverter.class)
    @ApiModelProperty(value = "评论时间")
    private Long evaluateTime;

    @ExcelProperty(value = "审核状态", converter = AuditStateConverter.class)
    @ApiModelProperty(value = "审核状态标记：0-已通过,1-未审核 2-审核中 3-未通过")
    private Integer auditState;

    @ExcelProperty(value = "审核时间", converter = TimeConverter.class)
    @ApiModelProperty(value = "审核时间")
    private Long auditTime;

    @ExcelIgnore
    @ApiModelProperty(value = "评价图片，多个逗号分隔")
    private String imageUrl;


    private static final long serialVersionUID = 1L;

}
